module.exports = {
    devServer: {
        host: 'localhost',
        port: 8080,
        proxy: {
            '/api': {
                target: 'http://mall-pre.springboot.cn/',
                changeOrigin: true,
                pathRewriter: {
                    '/api': ''
                }
            }
        },
        overlay: {
            warnings: false,
            errors: false
        }      
    }
}